<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ManagerFiltro
 *
 * @author jhonny
 */
class ManagerFiltroUniversidad extends ManagerFiltro{
    
    public function __construct($sfActions) {
        parent::__construct($sfActions);        
    }
    protected function generateArrayParameters(sfWebRequest $request){
        $params = array();
        $params = parent::generateArrayParameters($request);
        if($request->isMethod('post')){
            $this->addElementPostParams($request,$params,UrlParameter::carrera);
        }else{
            $this->addElementUrlParams($request,$params,UrlParameter::carrera);
        }
        return $params;
    }
    /**
     *
     * @param type $params
     * @param type $strParams 
     */
    protected function generarFiltros($params,$strParams){
        $this->generarFiltroCarrera($params, $strParams);
        parent::generarFiltros($params,$strParams);
    }
    private function generarFiltroCarrera($params,$strParams){
        $this->logMessage("###########generarFiltroCarrera params : $strParams",'info');
        $this->generarFiltroItem($params, $strParams, "Carrera", UrlParameter::carrera, "Listado", "Carrera", "Carrera", 3, "");
    }
}

?>
